﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CarPark.Helper
{
    public static class GlobalConst
    {

        #region 全局常量
        //提示框标题显示
        public const string GLOBAL_POPUP_TITLE = "车库管理系统！";
        //操作成功
        public const string CK_OK = "CK_OK";
        //内部参数为空错误
        public const string GLOBAL_MISSING_ARG = "内部错误：事件参数为空！";
        //帮助信息
        public const string ABOUT = "欢迎使用小区车辆管理系统v1.0！";

        #endregion

        #region 登陆界面使用常量
        //用户没有选择车库
        public const string LOGIN_MISSING_CKNAME = "必须要选择车库！";


        #endregion


        #region 父窗体使用常量

        public const string PARENT_MISSING_USENAME = "必须填写用户名！";
        public const string PARENT_MISSING_PASSWORD= "必须填写密码！";
        public const string PARENT_LOGIN_FAILED = "登录失败，请检查车库名、用户名、密码是否填写错误！";
        public const string PARENT_LOGIN_SUCCESS = "登录成功！";
        public const string PARENT_SYCOUNT_FAILED = "查询剩余车库时出错！";
        public const string PARENT_ACCESS_EMPTY = "必须输入卡号！";
        public const string PARENT_ACCESS_INVALID = "必须输入合法的卡号！";
        public const string PARENT_ACCESS_FAILED = "失败，可能是卡号不存在！";
        public const string PARENT_CARMODELNAME_EMPTY = "车型名称不能为空！";
        public const string PARENT_CARMODELPRICE_EMPTY = "车型单价不能为空！";
        public const string PARENT_CARMODELPRICE_INVALID = "请输入正确的单价格式！";
        public const string PARENT_CARMODELADD_SUCCESS = "车型添加成功！";
        public const string PARENT_CARMODELADD_FAILED = "车型添加失败！";
        public const string PARENT_CARCHOOSE_INVALID = "选择的车型无效！";
        public const string PARENT_DELCARMODEL_FAILED = "删除失败！";
        public const string PARENT_DELCARMODEL_SUCCESS = "删除成功！";
        public const string PARENT_UPDATECARMODEL_FAILED = "修改失败！";
        public const string PARENT_UPDATECARMODEL_SUCCESS = "修改成功！";

        #endregion

        //用户验证失败
        public const string CK_NOUSER = "没有这个用户，或者密码错误";
    }
}
